
<div id="news_detail_wrapper">
    <div id="news_detail_act">Actualités</div>
    <table width="100%" id="tb_actu">
    <?php foreach ($actualite->result_array() as $aRow){ ?>
        <?php
            $image_path = './assets/actuimg/thumbs/' . $aRow['img'];
            if (file_exists($image_path)) {
                $image_path = base_url() . 'assets/actuimg/thumbs/' . $aRow['img'];
            } else {
                $image_path = base_url() . 'assets/noimage.gif';
            }
        ?>
        <tr>
            <td width="120px" valign="top" ><img width="100px" src="<?php echo $image_path; ?>" alt=""/></td>
            <td valign="top">
        <a class="title_actu" href="<?php echo site_url('accueil/news_detail').'/'.$aRow['id'];?>"><?php echo $aRow['title'] ?></a>
       <p id="post_time"><?php echo get_short_description($aRow['introtext'],25)?></p>
        
        </td>
       </tr>

    <?php } ?>
        </table>
     <?php echo $pagination; ?>
</div>